/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconHome: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M553.792 124.672l3.456 3.264 361.376 361.44a32 32 0 0 1 2.464 42.464l-2.496 2.784a32 32 0 0 1-42.464 2.496l-2.784-2.496L832 493.248V832a96 96 0 0 1-90.368 95.84L736 928H288a96 96 0 0 1-95.84-90.368L192 832V493.216l-41.376 41.408a32 32 0 0 1-47.744-42.464l2.496-2.784L466.784 127.936a64 64 0 0 1 87.008-3.264zM512 173.184L256 429.216V832a32 32 0 0 0 28.256 31.776L288 864h448a32 32 0 0 0 31.776-28.256L768 832V429.216l-256-256zM608 704a32 32 0 0 1 3.744 63.776L608 768h-192a32 32 0 0 1-3.744-63.776L416 704h192z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconHome.defaultProps = {
  size: 18,
};

export default IconHome;
